package service

type (
	IAlert interface {
	}
)

var (
	localAlert IAlert
)

func Alert() IAlert {
	if localAlert == nil {
		panic("implement not found for interface IAlert, forgot register?")
	}
	return localAlert
}

func RegisterAlert(i IAlert) {
	localAlert = i
}
